Remove an unused field
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Aug 2017 23:15:36 +0000 (19:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Aug 2017 23:54:39 +0000 (19:54 -0400)
Drag contexts are objects, so there is no need to carry a
manual refcount around.

gdk/x11/gdkdnd-x11.c

index dd2d280ea25b900bf44bde663009355df84ff5a4..8acf7be7b5d43630369a0c3962e015d3b722e9db 100644 (file)
@@ -74,8 +74,6 @@ struct _GdkX11DragContext
 {
   GdkDragContext context;
 
-  guint   ref_count;
-
   gint start_x;                /* Where the drag started */
   gint start_y;
   guint16 last_x;              /* Coordinates from last event */